<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #box{
            position: relative;
        }
        #box i{
            position: absolute;
            width: 21px;
            height: 21px;
            top: 1px;
            right: 353px;
        }
    </style>
</head>
<body>
    <div id="box">
        <i></i>
        <img src="./images/京东广告.png" alt="">
    </div>
    <script>
        var i = document.querySelector('i');
        var box = document.getElementById('box');
        i.onclick = function(){
            box.style.display = 'none';
        }
    </script>
</body>
</html>